/*******************************************************************************
 *  Copyright (c) 2010 Chase Technology Ltd.
 *  
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the GNU General Public License v3.0
 *  which is available at http://www.gnu.org/licenses/
 * 
 * Contributors:
 *     Doug Satchwell - initial API and implementation
 *******************************************************************************/
package org.jfunction.ui.model;

import java.util.ArrayList;
import java.util.List;

public class UIScenario {
	private String description;
	private List<UIStep> steps = new ArrayList<UIStep>();
	private List<UIExample> examples = new ArrayList<UIExample>();
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getDescription() {
		return description;
	}
	
	public List<UIStep> getSteps() {
		return steps;
	}
	
	public void addStep(UIStep step) {
		steps.add(step);
	}
	
	public void removeStep(UIStep step) {
		steps.remove(step);
	}
	
	public List<UIExample> getExamples() {
		return examples;
	}

	public void addExample(UIExample example) {
		examples.add(example);
	}
	
	public void removeExample(UIExample example) {
		examples.remove(example);
	}
}
